void main() {
  var list1 = [1, 2, 3.5, "Dart", true];
  print(list1);
  print(list1[2]);
  list1[1] = "Hello";
  print(list1);

  var list2 = const [1, 2, 3];
//  list2[1]=5;
  var list3 = new List();

  var list=["hello","Dart"];
  print(list.length);
  list.add("New");
  print(list);

  list.insert(1, "Java");
  print(list);

  list.remove("Java");
  print(list);

  list.sort();
  print(list);

  print(list.sublist(1));

  list.forEach(print);

}
